<template>
  <div id="app">
    <router-view/>
    <play-bottm class="possionbottm" v-if="playList.length>1"></play-bottm>
  </div>
</template>

<script>
import playBottm from './components/PlayBottm.vue'
import {playListDetail} from './js/axios'
import { mapState, mapMutations } from 'vuex'


export default {
  computed:{
    ...mapState(['playList', 'playIndex'])
  },
  components:{
    playBottm
  },
  methods:{
  
  },
  mounted(){
    console.log(this.playList)
    // console.log(this.$store.state.playList)

  }
}
</script>

<style lang="less">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: '微软雅黑';
}

.icon {
  font-size: 0.3rem;
  width: 0.3rem;
  height: 0.3rem;
}
#app {
  
}
 .possionbottm {
    position: fixed;
    bottom: 0.2rem;
  }
</style>
